<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>广东国防教育学会</title>
		<meta name="viewport" content="initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm.min.css" />
		<link rel="stylesheet" href="http://idangero.us/swiper/dist/css/swiper.min.css" />
		<link rel="stylesheet" href="/Public/Home/activity/css/style.css" />
	</head>
	<body>

<div class="bar bar-nav">
    <h1 class="title">我的预约客户</h1>
    <i class="icon icon-left" onclick="window.history.go( - 1);"></i>
</div>
<div class="content">
    <div class="content-block row in_tab_list">
        <div class="tab in_hot_box activity_1">
            <?php if($make_users_show): ?><div class="row discuss expert_discuss no-border" style="margin-top:0;">
                <div class="col-100">
                    <div class="content-padded">
                        <div class="list-block media-list" style="margin-top:0;">
                            <ul  id="all_yuyue">
                                <?php if(is_array($make_users)): foreach($make_users as $mm=>$make_users): ?><li class="item-content">
                                    <div class="item-media" style="min-width: 60px;">
                                        <img src="<?php echo ($make_users['headimgurl']); ?>">
                                    </div>
                                    <div class="item-inner">
                                        <a href="<?php echo U('Apply/expert_page',array('id'=>$make_users['apply_id']));?>">
                                            <div class="item-title-row">
                                                <div class="item-title"><?php echo ($make_users['username']); ?>
                                                    <font>
                                                    <?php if($make_users['select_time'] == 1): ?>星期一<?php endif; ?>
                                                    <?php if($make_users['select_time'] == 2): ?>星期二<?php endif; ?>
                                                    <?php if($make_users['select_time'] == 3): ?>星期三<?php endif; ?>
                                                    <?php if($make_users['select_time'] == 4): ?>星期四<?php endif; ?>
                                                    <?php if($make_users['select_time'] == 5): ?>星期五<?php endif; ?>
                                                    <?php if($make_users['select_time'] == 6): ?>星期六<?php endif; ?>
                                                    <?php if($make_users['select_time'] == 0): ?>星期日<?php endif; ?>
                                                    </font>
                                                    <?php switch($make_users['status']): case "1": ?><a style="display: inline-block;float: right;" id="success_yuyue" class="button">进行中</a><?php break;?>
                                                        <?php case "2": ?><a style="display: inline-block;float: right;background: #ccc;" class="button">已完成</a><?php break;?>
                                                        <?php case "3": ?><a style="display: inline-block;float: right;background: #ccc;" class="button">已取消</a><?php break; endswitch;?>
                                                </div>
                                            </div>
                                            <p>专家电话：<?php echo ($make_users['phone']); ?> </p>
                                            <div class="item-subtitle">预约地点：<?php echo ($make_users['address']); ?></div>
                                        </a>
                                        
                                    </div>

                                </li><?php endforeach; endif; ?>

                            </ul>

                        </div>
                    </div>

                </div>
            </div>

            <?php else: ?>
            <p id="load_more"> 暂无预约！</p><?php endif; ?>
        </div>

    </div>
</div>


		<script type="text/javascript" src="http://g.alicdn.com/sj/lib/jquery/dist/jquery.min.js"></script>
		<script type='text/javascript' src='http://g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
		<script type='text/javascript' src='http://g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
		<script src="http://idangero.us/swiper/dist/js/swiper.min.js"></script>
		<script type="text/javascript" src="/Public/Home/activity/js/huodon.js" ></script>
		<script>
			
			var swiper = new Swiper('.swiper-container', {
				pagination: '.swiper-pagination',
				paginationClickable: true,
				loop:true,    
				grabCursor: true,
				autoplay: 3000
			});
			
			 /* $(document).on('click','.open-preloader', function () {
				 Zepto.showPreloader('加载中...')
				    setTimeout(function () {
				    	 Zepto.hidePreloader();
				    }, 2000); 
			 }); */
			 $(document).on('click','.open-indicator', function () {
				 Zepto.showIndicator();
			     setTimeout(function () {
			    	Zepto.hideIndicator();
			     }, 2000);
			  });
		</script>
		

	</body>

</html>